package com.lisen.test.webservice.service.impl;

import org.apache.log4j.Logger;

import com.lisen.test.webservice.service.bo.Portal602;

public class Portal602Impl implements Portal602 {
	static Logger log = Logger.getLogger(Portal602Impl.class);

	private String isNull(String var) {
		return var == null ? "0" : "1";
	}

	@Override
	public String addTask(String appID, String taskName, String appTaskID,
			String taskType, String appSendUID, String appReceiveUID,
			String sendTime, String endTime, String url, String taskDesc,
			String priorityID) {
		return isNull(taskDesc);
	}

	@Override
	public String cancelTask(String appTaskID, String appID, String handleTime) {
		// TODO Auto-generated method stub
		return isNull(handleTime);
	}

	@Override
	public String completeTask(String appTaskID, String appID, String handleTime) {
		// TODO Auto-generated method stub
		return isNull(handleTime);
	}

	@Override
	public String completeTaskUpdate(String userId, String appTasksID,
			String appID, String handleTime) {
		// TODO Auto-generated method stub
		return isNull(handleTime);
	}

	@Override
	public String sychTaskBig(String appID, String handleTime) {
		// TODO Auto-generated method stub
		return isNull(handleTime);
	}

	@Override
	public String sychTaskSmall(String appID, String handleTime, String taskStr) {
		// TODO Auto-generated method stub
		return isNull(handleTime);
	}

	@Override
	public String viewTask(String appTasksID, String appID, String handleTime) {
		// TODO Auto-generated method stub
		return isNull(handleTime);
	}

}
